<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 * @author   howe <howe1995@163.com>
 */

namespace App\Constant\Database;

class FileEnum
{
    public const FILE = 'file';

    public const IMAGE = 'image';

    public const VIDEO = 'video';

    public const AUDIO = 'audio';

    public const TYPE = [
        self::FILE,
        self::IMAGE,
        self::VIDEO,
        self::AUDIO,
    ];

    public const FILE_LIMIT_SIZE = 5 * 1024 * 1024;

    public const IMAGE_LIMIT_SIZE = 5 * 1024 * 1024;

    public const VIDEO_LIMIT_SIZE = 30 * 1024 * 1024;

    public const AUDIO_LIMIT_SIZE = 10 * 1024 * 1024;
}
